<!--title-->
<div class="mnav1">
	<div class="m_nav">
		<div class="nav_left">
			<em class="home_icon"><?=$this->sys_name?></em><span>&nbsp;&gt;&nbsp;</span><a href='/dcc/companies'>店铺管理</a><span>&nbsp;&gt;&nbsp;</span><a href='/dcc/companies-user'>坐席管理</a><span>&nbsp;&gt;&nbsp;</span><font><?=$this->title?></font>
		</div>
	</div>
</div>

<div class="content-table2">
<div class="content-table-title"><?=$this->title?></div>
<div class="form-edit-task">

<form action="/dcc/companies-user-add-submit" method="post" name="form1" onsubmit="submitform(this);return false;">
<table border="0" width="100%">
	<tr>
		<td align="right">创建坐席数：</td>
		<td align="left">&nbsp;
			<select name="create_num" id="create_num">
				<option>请选择</option>
				<?php for($n=1;$n<=50;$n++):?>
				<option value="<?=$n?>"><?=$n?>个</option>
				<?php endfor;?>
			</select>
			<font color="red"> *</font></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br><br>
			<input type="hidden" name="company_id" value="<?=$this->company_id?>" />
			<input type="button" class="buttonlong" value="提交" onclick="submitform();return false;" />
		</td>
	</tr>
</table>
<br /><br />
</form>
</div>
<br/><br/>
</div>

<script>
<?php if($this->msg):?>
alert("<?=$this->msg?>, 信息提交失败, 请修改后再次提交。");
<?php endif;?>

function submitform() 
{
	
	if( document.form1.create_num.value.length == 0 )
	{
		alert("坐席数不能为空。");
		return false;
	}else{
		form1.submit();
	}
}
</script>
